package com.hopes.bizz.poll.alarm.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

import java.util.List;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/5/29 10:01
 * @Description:
 */
@Data
public class AlarmClassificationConfig {
    /**
     * 是否开启报警 1开启
     */
    private Boolean alarmFlag;
    /**
     * alarm超标 net网络
     */
    private String type;
    /**
     * 报警级别
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<AlarmLevel> alarmLevels;
}
